.class Lcom/waiqin365/lightapp/chexiao/aw;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->a(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;Z)Z

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "cmId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "cmId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "cmName"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->p(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/lightapp/kehu/b/am;Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    :cond_1
    :goto_1
    if-eqz v0, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->s(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->r(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->b(Lcom/waiqin365/base/db/jxccache/a;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->t(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->h(Ljava/lang/String;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->u(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/a;)Z

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->c(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->d(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->q(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-nez v0, :cond_1

    move-object v0, v1

    goto :goto_1

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->v(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->h(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->w(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->x(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->s(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->z(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->y(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->g(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v0, v3}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/lightapp/kehu/b/am;Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/a;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->c(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/aw;->a:Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;->d(Lcom/waiqin365/lightapp/chexiao/CXJQDHActivity;)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0064
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
